package com.study.pojo;

/**
 * @Author Miss kun
 * @Date 2020/10/16 16:30
 * @Version 1.0
 */
public class Thumb {
    private int id;

    private int user_id;

    private int book_id;
    /**
     * 状态值，默认为0，不点赞状态，1为点赞状态
     */
    private int thumb_status;

    public Thumb(int user_id, int book_id,int thumb_status) {
        this.user_id = user_id;
        this.book_id = book_id;
        this.thumb_status = thumb_status;
    }

    public Thumb() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public int getThumb_status() {
        return thumb_status;
    }

    public void setThumb_status(int thumb_status) {
        this.thumb_status = thumb_status;
    }

    @Override
    public String toString() {
        return "Thumb{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", book_id=" + book_id +
                ", thumb_status=" + thumb_status +
                '}';
    }
}
